define([
  'jquery',
  'underscore',
  'backbone',
  'models/user/UserModel',
  'text!templates/user/userTemplate.html'
], function($, _, Backbone,UserModel, userTemplate){

  var DsMonView = Backbone.View.extend({
    el: $("#contentPage"),

    render: function(){
      $('.menu li').removeClass('active');
      $('.menu li a[href="#/add"]').parent().addClass('active');
      this.$el.html(userTemplate);
    },
	events: {
		"click button[id='btnAddUser']": "doAdd"
	},
	doAdd: function(){
	   
		location.href="#/addUser";
			
	},


  });

  return DsMonView;
  
});
